package com.quanta.edaily.mapper;

import com.quanta.edaily.pojo.Globals;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GlobalsMapper {
    int insert(Globals globals);
    int deleteById(Integer id);
    int updateById(Globals globals);
    Globals getById(Integer id);
    List<Globals> getSome(@Param("pageNum") Integer pageNum,
                          @Param("pageSize") Integer pageSize,
                          @Param("title") String title);
}
